<load file="__PUBLIC__/public.html"/>
<div class='now_path'>
		<strong>您现在的位置是:</strong>
		权限管理>查看用户
</div>
	<div class="send1">
        <a href="__WEB__/admin/rbac/user_add_show" target="con" class="current button1">添加用户</a>
    </div>
    <table class='table1'>
    	<thead>
	        <tr>
	            <td width="50">用户ID</td>
	            <td width="200">用户名称</td>
				<td width="200">状态</td>
	            <td width="200">所属组</td>
	            <td>操作</td>
	        </tr>
		</thead>
		<tbody>
	        <list from="$row" name="$v">
	        <tr>
	            <td width="50">{$v.uid}</td>
	            <td width="200">{$v.username}</td>
				<td width="200"><if value='$v.status eq 1'>已启用 &nbsp;<a href='__WEB__/admin/rbac/setstatus/uid/{$v.uid}/status/0'><font style='color:red;'>禁止</font></a><else /></else><a href='__WEB__/admin/rbac/setstatus/uid/{$v.uid}/status/1'>启用</a></if></td>
	            <td width="200">{$v.tj_role.0.title}</td>
	            <td>
	                <a href="javascript:;" onclick="if(confirm('确认删除吗？')){location.href='__CONTROL__/user_del/uid/{$v.uid}'}">删除</a>&nbsp;&nbsp;&nbsp;
	            </td>
	        </tr>
	        </list>
		</tbody>
    </table>
</form>
</body>
</html>
